<template>
	<view class="container">
		<view class="topviewpho">
			<image
				src="https://lnu-market.oss-cn-guangzhou.aliyuncs.com/2023-01-11/15:25:06-ac327a7849234013974591a3a2689d7f.png"
				mode=""></image>
		</view>

		<!-- Adopted -->
		<view class="adopted" @click="toadopt">
			<view class="topview">
				<view class="pho">
					<image src="../../static/land2.png" mode=""></image>
				</view>
				<view class="word">
					我的土地
				</view>
			</view>

			<view class="check">
				<view class="pho">
					<image src="../../static/circle.png" mode=""></image>
				</view>
				<view class="checkpho">
					<image src="../../static/Hosting.png" mode=""></image>
				</view>
				<view class="adoptedland">
					<button type="primary" plain="true" class="topland" @click="tohost">托管</button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

	
			}
	
		},
		methods: {
			tohost(){
				uni.navigateTo({
					url:'/pages/addHostLand/addHostLand',
					fail(error){
						console.log(error)
					}
				})
			}
		}
	}
	

	

</script>

<style lang="less" scoped>
	.container {
		width: 100vw;
		height: 98vh;
		background-color: rgb(242, 242, 242);
	}

	.topviewpho {
		width: 100vw;
		height: 220px;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.adopted {
		width: 94%;
		height: 33%;
		background-color: #fff;
		padding: 10px 0;
		border-radius: 10px 10px 0 0;
		margin:0 3%;
		margin-top: 20%;
		box-sizing: border-box;
		box-shadow: 0px 5px 10px 2px #e7e7e7;
		border-radius: 10px;
		.topview {
			display: flex;
			margin: 10px;

			.pho {
				width: 30px;
				height: 30px;

				image {
					width: 100%;
					height: 100%;
				}
			}

			.word {
				font-size: 20px;
				margin-left: 5px;
			}
		}

		.check {
			position: relative;
			// display: flex;
			// width: 100%;
			// height: 90%;
			margin: 15%;
			box-sizing: border-box;

			.pho {
				display: inline-block;
				width: 70px;
				height: 70px;
				vertical-align: middle;

				image {
					width: 100%;
					height: 100%;
				}
			}

			.checkpho {
				position: absolute;
				top: 12px;
				left: 13px;
				width: 45px;
				height: 45px;

				image {
					width: 100%;
					height: 100%;
				}
			}

			.adoptedland {
				display: inline-block;
				margin: 10px;
				vertical-align: middle;
				width: 60%;

				.topland {
					// width: 50%;
					font-size: 18px;
					// padding: 0 50px;
				}

				.bottomland {
					color: #9d9d9d;
				}

			}
		}
	}
</style>
